import { createApp } from 'vue'
import './style.css'
import 'element-plus/dist/index.css' // 引入样式
import 'virtual:svg-icons-register' // svg
import 'virtual:uno.css' // uno
import 'lib-flexible'
import App from './App.vue'
import router from './router'
import * as ElIcon from '@element-plus/icons-vue'

const app = createApp(App)
Object.keys(ElIcon).forEach((key) => {
	app.component(key, ElIcon[key])
})
app.use(router)

app.mount('#app')
